package com.ax.center.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author zy
 * @date 2023/7/5 15:32
 */

@Data
@Accessors(chain = true)
@TableName(value = "role_auth")
@ApiModel(value = "角色权限实体类->特定角色包括的权限")
public class RoleAuth implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "角色id")
    private Long roleId;

    @ApiModelProperty(value = "权限id")
    private Long authorityId;


}
